

export const FILE_CREATE_STATUS_ENUM = {
  SUCCESS: 'Success',
  WAITING: 'Waiting',
  RUNNING: 'Running',
  ERROR: 'Error'
}
export const FILE_CREATE_STATUS_COLOR_ENUM = {
  'Success': 'green',
  'Waiting': 'grey',
  'Running': 'blue',
  'Error': 'red'
}

export const FILE_CREATE_STATUS_MAP = {
  'Success': '成功创建',
  'Waiting': '等待中',
  'Running': '运行中',
  'Error' : '初始化失败'
}

export const FILE_CREATE_STATUS_OPTIONS = Object.keys(FILE_CREATE_STATUS_MAP).map((key) => {
  return {
    label: FILE_CREATE_STATUS_MAP[key],
    value: key,
  }
})


export const FILE_TRAIN_CREATE_STATUS_ENUM = {
  SUCCESS: 'Success',
  WAITING: 'Waiting',
  RUNNING: 'Running',
  FAILED: 'FAILED'
}
export const FILE_TRAIN_CREATE_STATUS_COLOR_ENUM = {
  'Success': 'green',
  'Waiting': 'grey',
  'Running': 'blue',
  'FAILED': 'red'
}

export const FILE_TRAIN_CREATE_STATUS_MAP = {
  'Success': '成功创建',
  'Waiting': '等待中',
  'Running': '运行中',
  'FAILED' : '初始化失败'
}

export const FILE_TRAIN_CREATE_STATUS_OPTIONS = Object.keys(FILE_TRAIN_CREATE_STATUS_MAP).map((key) => {
  return {
    label: FILE_TRAIN_CREATE_STATUS_MAP[key],
    value: key,
  }
})
